package com.ourteam.workspace.dao;

import net.dao.IDataAccessInterface;

/**
 * Template Name : DAO接口模板 Template Version : 1 Template Last Modfiy Date : Thu Sep 21 11:14:14 CST
 * 2017 Auto Generate Date : 2018-11-30 18:42:25 Warning ! This file will be overwrite when
 * regenerate !
 */
public interface IBaseWorkspaceBuildLogDAO
    extends IDataAccessInterface<WorkspaceBuildLog, WorkspaceBuildLogDAOQueryBean> {

  /** Mapped Entity Name */
  static final String EntityName = "WORKSPACE_BUILD_LOG";

  /** Mapped Field ID */
  static final String Id = "WORKSPACE_BUILD_LOG.ID";

  /** Mapped Field WORKSPACE_BUILD_CONFIG_ID */
  static final String WorkspaceBuildConfigId = "WORKSPACE_BUILD_LOG.WORKSPACE_BUILD_CONFIG_ID";

  /** Mapped Field BUILD_TIME */
  static final String BuildTime = "WORKSPACE_BUILD_LOG.BUILD_TIME";

  /** Mapped Field BUILD_LOG */
  static final String BuildLog = "WORKSPACE_BUILD_LOG.BUILD_LOG";

  /** Mapped Field BUILD_RESULT */
  static final String BuildResult = "WORKSPACE_BUILD_LOG.BUILD_RESULT";

  /** Mapped Field BUILD_OUTPUT_PATH */
  static final String BuildOutputPath = "WORKSPACE_BUILD_LOG.BUILD_OUTPUT_PATH";

  /** Mapped Field STATUS */
  static final String Status = "WORKSPACE_BUILD_LOG.STATUS";

  /** Mapped Field REMARKS */
  static final String Remarks = "WORKSPACE_BUILD_LOG.REMARKS";

  /** Mapped Attribute productionName */
  static final String ProductionName =
      org.apache.commons.lang.StringUtils.replace(
          com.ourteam.workspace.dao.IWorkspaceBuildConfigDAO.ProductionName,
          com.ourteam.workspace.dao.IWorkspaceBuildConfigDAO.EntityName + ".",
          "workspace_build_config.");

  /** Mapped Attribute productionType */
  static final String ProductionType =
      org.apache.commons.lang.StringUtils.replace(
          com.ourteam.workspace.dao.IWorkspaceBuildConfigDAO.ProductionType,
          com.ourteam.workspace.dao.IWorkspaceBuildConfigDAO.EntityName + ".",
          "workspace_build_config.");

  public static interface DataProperty {

    /** Attribute productionName */
    static final String ProductionName = "productionName";

    /** Attribute productionType */
    static final String ProductionType = "productionType";

    /** Attribute id */
    static final String Id = "id";

    /** Attribute workspaceBuildConfigId */
    static final String WorkspaceBuildConfigId = "workspaceBuildConfigId";

    /** Attribute buildTime */
    static final String BuildTime = "buildTime";

    /** Attribute buildLog */
    static final String BuildLog = "buildLog";

    /** Attribute buildResult */
    static final String BuildResult = "buildResult";

    /** Attribute buildOutputPath */
    static final String BuildOutputPath = "buildOutputPath";

    /** Attribute status */
    static final String Status = "status";

    /** Attribute remarks */
    static final String Remarks = "remarks";
  }

  public static interface _DataObjectProperty extends DataProperty {}

  /**
   * Delete Data
   *
   * @param final long id
   * @throws Exception
   */
  void delete(final long id) throws Exception;
  /**
   * Find Data By Primary Key
   *
   * @param final long id
   * @throws Exception
   */
  WorkspaceBuildLog findById(final long id) throws Exception;
}
